package com.usian.api.admin;

import com.usian.model.admin.dtos.ChannelDto;
import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "频道管理" ,tags = "这是频道管理", description = "频道管理API")
public interface AdChannelControllerApi {
    @ApiOperation("频道分页列表查询")
    public ResponseResult findByNameAndPage(ChannelDto dto);

    @ApiOperation("频道添加")
    public ResponseResult insert(AdChannel channel);


    @ApiOperation("频道修改")
    public ResponseResult update(AdChannel adChannel);

    @ApiOperation("频道删除")
    public ResponseResult deleteById(Integer id);
}
